from flask import Blueprint, render_template, request
import os
from application import db
from application.models import Users
# from application.models import Users

users = Blueprint('users', __name__)


@users.route("/login")
# 登录页面
def login():
    # db.session.add(Users(username='username', password='password'))
    # db.session.commit()
    # print(Users)
    # print(db.session)
    return render_template('login/index.html')


@users.route("/register")
def register():
    return "用户注册"


@users.route("/update")
def update():
    return "用户信息修改"
